package com.chucang.shucang.sms.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/10/12 14:03
 * @description
 */
@AllArgsConstructor
@Getter
public enum SmsErrorCode implements Serializable {

    EXCEED_PER_LIMIT(80001, "超过单次限购数量！"),
    PURCHASE_NOT_START(80002, "抢购尚未开始,请耐心等待！"),
    OUT_OF_TEAM(80003, "被挤出队伍！"),
    INSUFFICIENT_INVENTORY(80004, "库存不足,请重新选择！"),
    NO_REAL_NAME_AUTH(80005, "请先实名认证，再购买！"),
    ;

    private final int code;
    private final String msg;
}
